package client.fx;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class ClientFX extends Application {
	@Override
	public void start(Stage stage) throws Exception {
		Parent root = FXMLLoader.load(getClass().getResource("Client.fxml"));
		Scene scene = new Scene(root);
		stage.setScene(scene);
		stage.setTitle("客户端");
		stage.show();
		//stage.setResizable(false);
		stage.setOnCloseRequest(e -> {
			System.exit(0);
		});
	}

	public static void main(String[] args) {
		launch(args);
	}

}
